package com.itheima.health.service;


import com.itheima.health.dto.OrderDTO;
import com.itheima.health.pojo.Member;

import java.text.ParseException;

/**
 * 会员Service
 */
public interface MemberService {

    Member register(OrderDTO dto) throws ParseException;

    Integer calculateAge(String idCard) throws ParseException;
}
